package com.wxmit.ot.base.core;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author huangxiong
 * @version V1.0
 * @date 2023/2/22 10:29
 */
@Data
public class OtBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


    @TableLogic
    private String delFlag;
}
